package com.jz.pay.study;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;

@Component("BeanNameAwareImplMyName")
public class BeanNameAwareImpl implements BeanNameAware {
    @Override
    public void setBeanName(String s) {
        System.out.println("执行 BeanNameAware.setBeanName:"+s);
    }
}
